package com.xiao.user.service;

import javax.persistence.criteria.CriteriaBuilder;
import javax.persistence.criteria.Root;
import javax.persistence.criteria.Selection;
import java.util.List;

/**
 * @author zhoushaofeng
 */
public interface SelectionSpecification<E> {
    List<Selection<?>> build(Root<E> root, CriteriaBuilder criteriaBuilder);
}
